﻿using Glue.Internals;
using Xunit;

namespace GlueTests.PropertyFactoryTests
{
    public class When_creating_properties_from_normal_properties
    {
        private readonly ObjectMemberFactory factory;

        public When_creating_properties_from_normal_properties()
        {
            factory = new ObjectMemberFactory(null);
        }

        [Fact]
        public void Should_return_Property()
        {
            factory.CreateObjectMember(PersonWithAllKindsOfProperties.GetLambda(x=>x.Aproperty));
        }
    }
}
